package services

import (
	"longmen/server/pkg/db/mysql/db_main"
	"longmen/server/pkg/db/mysql/models/models_main"
)

func (s *Service) GetAnchorFansByAnchorIdAndFansId(anchorId, fansId int) (*models_main.AnchorFans, error) {
	return db_main.GetAnchorFansParam(map[string]interface{}{"anchorid": anchorId, "fansid": fansId})
}
